package cn.ecnu.common;

public class RedisConstant {
    public static final String USER_TOKEN = "paper:token:user:"; // user --> token
    public static final String SMS_PREFIX = "paper:thirdparty:sms:"; // 短信验证码
    public static final String TOKEN_USER = "paper:user:token:"; // token --> user
    public static final String HOT_UNIQUE = "paper:hot:paper:";
    public static final String HOT_RANK = "paper:hot:rank";
    public static final String PAPER_FIELD_CACHE = "paper:field:cache";
    public static final String PAPER_UID_PN = "paper:user:pn:";
    public static final String PAPER_CPL_ID_CACHE = "paper:complete:";
    public static final String PAPER_AUTHOR_PN_CACHE = "paper:author:pn:";
    public static final String PAPER_FIELD_PN_CACHE = "paper:field:pn:";
    public static final String PAPER_HOT_CACHE = "paper:hot:cache";
    public static final String PAPER_ALL_CACHE = "paper:all:cache:";
}
